STEP 9: Let's make eye2 an 8-sided polygon, also known as an octagon!

Use the #comment above the shape to find the correct arguments.

  • Find the sides argument in the polygon and change it from 6 to 8.
  • Make the octagon eye smaller by changing the radius argument from 100 to 30.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)